<script setup  lang="ts">
defineProps(['title', 'icon'])
</script>

<template>
  <view class="h-7.5 py-2 flex gap-2 items-center border-t-(~ solid #F4F6F7)" @click="$emit('click')">
    <image class="size-5 align-middle" :src="icon" />
    <view class="flex-1 text-(sm black/80)">{{title}}</view>
    <view class="i-ri-arrow-right-s-line"></view>
  </view>
</template>
